/**
 * @format
 */
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';

import React, {Component} from 'react';
import {Provider} from "react-redux";
import { createStore } from 'redux'
import reducer from './src/stores/reducer.js'

let store = createStore(reducer);

export default class AppRedux extends Component {
  render() {
    return <Provider store={store}><App/></Provider>
  }
}

AppRegistry.registerComponent(appName, () => AppRedux);
